package cn.net.shuxing.yifu.common.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SysUser extends BaseBean implements Serializable{
	@Id
	@Column
	private Long id;
	@Column
	private String loginName;
	@Column
	private String nickName;
	@Column
	private String icon;
	@Column
	private String password;
	@Column
	private String salt;
	@Column
	private String tel;
	@Column
	private String email;
	@Column
	private Boolean locked;
	@Column
	private Integer type;
	@Column
	private java.time.LocalDateTime createDate;
	@Column
	private String createBy;
	@Column
	private java.time.LocalDateTime updateDate;
	@Column
	private String updateBy;
	@Column
	private String remarks;
	@Column
	private String delFlag;

	/**
	 * 累积佣金
	 */
	private BigDecimal cumulativeComm;

	/**
	 * 未结算佣金
	 */
	private BigDecimal unsettledComm;

	/**
	 * 持卡人姓名
	 */
	private String holderName;

	private String idCardNum;

	/**
	 * 银行卡号
	 */
	private String bankCardNum;

	/**
	 * 开户银行
	 */
	private String openBank;

	/**
	 * 开户支行
	 */
	private String openBankBranch;

	/**
	 * 省
	 */
	private Integer province;

	/**
	 * 市
	 */
	private Integer city;

	/**
	 * 区
	 */
	private Integer district;

	/**
	 * 佣金比例
	 */
	private BigDecimal commRate;

	/**
	 * 所在区域（省市区）
	 */
	private String address;

    /**
     * 证件类型id
     */
	private Integer cardTypeId;

    /**
     * 证件类型名称
     */
	private String cardTypeName;
}